package com.sztx.worker_monitor.web.model;

public class ResultStatus {
	private String 	errorDes;
	private Boolean bSuccess = true;
	private Object  revert;
	
	public ResultStatus(){}

	
	public ResultStatus(String errorDes, Boolean bSuccess, Object revert) {
		super();
		this.errorDes = errorDes;
		this.bSuccess = bSuccess;
		this.revert = revert;
	}



	public ResultStatus(String 	errorDes){
		bSuccess = false;
		this.errorDes = errorDes;
	}
	

	public String getErrorDes() {
		return errorDes;
	}

	public void setErrorDes(String errorDes) {
		this.errorDes = errorDes;
	}

	public Boolean getbSuccess() {
		return bSuccess;
	}
	public void setbSuccess(Boolean bSuccess) {
		this.bSuccess = bSuccess;
	}
	public Object getRevert() {
		return revert;
	}
	public void setRevert(Object revert) {
		this.revert = revert;
	}
	
	

}
